package live.common;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

public class LogUtil {

	private LogUtil() {
	}

	static LogUtil logUtil = null;

	public synchronized static LogUtil getInstance() {
		if (logUtil == null) {
			logUtil = new LogUtil();
		}
		return logUtil;
	}

	public Log returnLogger(Object objClass) {
		return LogFactory.getLog(objClass.toString());
	}

}
